package cn.mw.cmdb.template.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @author gengjb
 * @description 处理zabbix数据参数
 * @date 2024/10/21 9:29
 */
@Getter
@Setter
@Schema(name = "ZabbixHandlerParam", description = "处理zabbix数据参数")
public class ZabbixHandlerParam {

    @Schema(description = "接口名称信息")
    private List<String> interfaceNames;

    @Schema(description = "服务器ID")
    private Integer serverId;

    @Schema(description = "主机ID")
    private String hostId;

    @Schema(description = "状态")
    private Boolean status;

    @Schema(description = "停用接口列表")
    private List<String> displayInterfaceList;

    @Schema(description = "模板ID")
    private String templateId;

    @Schema(description = "资产IP信息")
    private String assetsIp;

    @Override
    public String toString() {
        return "ZabbixHandlerParam{" +
                "interfaceNames=" + interfaceNames +
                ", serverId=" + serverId +
                ", hostId='" + hostId + '\'' +
                ", status=" + status +
                ", displayInterfaceList=" + displayInterfaceList +
                '}';
    }
}
